package com.ym.domain.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnComment;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsKey;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableComment;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@Table
@TableComment("Ip黑名单表")
public class IpBlackList {

    @TableId
    @IsKey
    @Column(length = 50)
    @ColumnComment("IP")
    private String ip;

    @Column(length = 50)
    @ColumnComment("备注")
    private String remark;

}
